<%--
    Document   : indexBody
    Created on : Apr 28, 2011, 8:27:59 AM
    Author     : Ruba
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

	<link type="text/css" rel="stylesheet" href="css/prettify.css" />
	<script type="text/javascript" language="JavaScript" src="js/prettify.js"> </script>

	<link type="text/css" rel="stylesheet" href="css/jquery.modaldialog.css" />
	<script type="text/javascript" language="JavaScript" src="js/jquery.js"> </script>
	<script type="text/javascript" language="JavaScript" src="js/jquery.modaldialog.js"> </script>

	<script type="text/javascript" language="JavaScript">
		$().ready(function(){
			prettyPrint();
		});
	</script>

<div id="page-body">


<p class="right">It is currently Mon Apr 18, 2011 1:51 pm</p>

<ul class="linklist">


</ul>
    <script>
           
            $.modaldialog.success('Autoclosing in 3 seconds.', { timeout: 3, showClose: false , title: 'Title .. . .. . . !'  } );
            
        </script>
<logic:iterate id="cat" name="categoriesActionForm" property="categories">

    <div class="forabg">
			<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt><bean:write name="cat" property="name"/>
                                               
                                                <dd class="topics">Topics</dd>
						<dd class="posts">Posts</dd>
						<dd class="lastpost"><span>Last post</span></dd>
					</dl>
				</li>
			</ul>

                        <ul class="topiclist forums">

                            <logic:iterate id="forum" name="cat" property="forums">
                                <logic:notEqual name="forum" property="post" value="<%=""%>">
                                <bean:define name="forum"  property="post" id="post"/>
                                <bean:define name="post" property="member" id="member"/>
                                </logic:notEqual>

                                <li class="row">
                                      <dl class="icon" style="background-image: url(./styles/carbon_fiber/imageset/forum_read.png); background-repeat: no-repeat;">
                               	         <dt title="No new posts">

                                        
                                         
                                                <html:link action="/forum.do" paramName="forum" paramProperty="forumId" paramId="forumId">
                                                    <bean:write name="forum" property="name"/></html:link>
                                                    <br/>
                                                    <bean:write name="forum" property="description"/>
                                         </dt>

                                        <dd class="topics"> <bean:write name="forum" property="noofthread"/> <dfn>Topics</dfn></dd>
					<dd class="posts"> <bean:write name="forum" property="noofpost"/> <dfn>Posts</dfn></dd>
					<dd class="lastpost"><span>
                                                <dfn>Last post</dfn> 
                                                    <logic:notEqual name="forum" property="post" value="<%=""%>">
                                                        by <a href="memberlist.html">
                                                            <bean:write name="member" property="userName" /></a>
                                                        <a href="ViewTopic.jsp">
                                                        <img src="imageset/icon_topic_latest.gif" width="11" height="9" alt="View the latest post" title="View the latest post" />
                                                            <bean:write name="post" property="lastModified"/></a> <br />
                                                  </logic:notEqual>
                                                  <logic:equal name="forum" property="post" value="<%=""%>">
                                                         No Posts Added yet.
                                                  </logic:equal>
                                                    </span>
					</dd>

			          </dl>
		            </li>
</logic:iterate>
 </ul> </div> </div>
</logic:iterate>

<div class="topic-actions">
      
</div><br/>



      
<h3>Who is online</h3>
	<p>In total there is <strong>1</strong> user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)<br />Most users ever online was <strong>4</strong> on Thu Oct 21, 2010 6:59 pm<br /> <br />Registered users: No registered users
	<br /><em>Legend: <a style="color:#AA0000" href="memberlist.html">Administrators</a>, <a style="color:#00AA00" href="memberlist.html">Global moderators</a></em></p>

	<h3>Statistics</h3>
	<p>Total posts <strong>29</strong> &bull; Total topics <strong>6</strong> &bull; Total members <strong>2</strong> &bull; Our newest member <strong><a href="memberlist.html">Guinea Pig</a></strong></p>
</div>

